package com.xkcoding.orm.jdbctemplate.Clickhousejdbctemplate.entity;

import com.xkcoding.orm.jdbctemplate.annotation.Column;
import com.xkcoding.orm.jdbctemplate.annotation.Pk;
import com.xkcoding.orm.jdbctemplate.annotation.Table;
import lombok.Data;

import java.util.Date;

@Data
@Table(name = "hz_material")
public class Material {

    @Pk
    @Column(name = "id")
    private String id;

    @Column(name = "typeCode")
    private String typeCode;

    @Column(name = "typeName")
    private String typeName;

    @Column(name = "materialCode")
    private String materialCode;

    @Column(name = "materialName")
    private String materialName;

    @Column(name = "outType")
    private String outType;

    @Column(name = "deptCode")
    private String deptCode;

    @Column(name = "deptName")
    private String deptName;

    @Column(name = "serialNumber")
    private String serialNumber;

    @Column(name = "outDate")
    private Date outDate;

    @Column(name = "price")
    private Double price;

    @Column(name = "quantity")
    private Double quantity;

    @Column(name = "total")
    private Double total;
}
